﻿@model Dexter.Web.Mvc.ViewModel.Backoffice.ViewsData.AccountController.AccountDeleteViewData
@{
	ViewBag.Title = "ConfirmDelete";
	Layout = "~/Areas/Admin/Views/Shared/_BackOffice.cshtml";
}

<div class="block-content">
	<div class="task with-legend">
		<div class="legend"><img src="@Url.Content( "~/admin/Resources/images/Icons/Fugue/status.png" )" width="16" height="16">Delete User</div>
					
		<div class="task-description">
			<ul class="floating-tags float-left">
				<li class="tag-time">@Model.User.CreationDate.ToShortDateString( )</li>
				<li class="tag-user">@Model.User.UserName</li>
			</ul>
			
			<p><strong>Email :</strong>@Model.User.Email</p>			
			<p><strong>Last Login Date :</strong>@Model.User.LastLoginDate.ToShortDateString()</p>
			<p><strong>Last Activity Date :</strong>@Model.User.LastActivityDate.ToShortDateString()</p>
			<p><strong>Is Approved :</strong>@Model.User.IsApproved</p>
			<p><strong>Is Locked Out :</strong>@Model.User.IsLockedOut</p>
			<p><strong>Comment :</strong>@Model.User.Comment</p>
						
		</div>
					
		<ul class="task-dialog">
			<li>
				<form method="post" action="../../Delete">
					@Html.AntiForgeryToken()
					@Html.Hidden("id", Model.User.UserName )
					<button type="submit">Confirm Delete</button>
				</form>
			</li>
		</ul>
	</div>
</div>